//声明一个接口
export interface Goods {
  remote_img: string;
  title: string;
  price: string;
  shop: string;
  url: string;
  isZY: boolean;
  img: string;
  id: number;
}
//声明一个类型的别名
export type GoodsList = Goods[];

//声明段子数据的接口
interface Duanzi {
  text: string;
  name: string;
  id: number;
}

export type Duanzis = Duanzi[];

//声明单个 LOL 英雄的结构
interface LOL {
  heroId: string;
  name: string;
  title: string;
  roles: string[];
  intro: string;
  avatar: string;
  card: string;
  poster: string;
  highlightprice: string;
  couponprice: string;
  alias: string;
  lane: string;
  tags: string;
  searchkey: string;
  isWeekFree: string;
  difficultyL: string;
  damage: string;
  surviveL: string;
  assistL: string;
  id: number;
}

// 声明英雄复数的类型
export type LOLS = LOL[];

//声明电影数据的接口
export interface Movie{
  id: number;
  title: string;
  price: number;
}